import React, { Component } from 'react';
import RouterView from './routers';
import { BrowserRouter as Router, NavLink } from 'react-router-dom';
import  './App.css'

class App extends Component {
    render() {
        return (
            <div>
                <Router>
                    <div className="content">
                        <div>
                            <div><NavLink to="/movie/hots">电影</NavLink></div>
                            <div><NavLink to="/home">我的</NavLink></div>
                        </div>
                    </div>
                    <RouterView></RouterView>
                </Router>
            </div>
        );
    }
}

export default App;
